package com.mlz.mlzmall.ui.model;

import com.mlz.mlzmall.ui.utils.DataUtils;

/**
 * describe :
 * Created by Benny on 2016/5/24.
 * PackageName com.mlz.mall.ui.model.
 * ProjectName mlzmall v2.0.
 */
public class UserInfo {

    /**
     * status : 0
     * errors : {}
     * msg : 成功
     * data : {"customerId":41143,"fullname":"MLZ72679014","gender":null,"telephone":"18170465691","portrait":"http://cimage1.mlzmall.com/41143/17c5cfc00c165ac5bfc0448b5feb3f35.bmp","email":"","customerGroupName":null,"addressId":0,"ageGroupTagId":null,"ageGroupTagName":null,"characterTagId":null,"characterTagName":null,"dressStyleTagId":null,"dressStyleTagName":null}
     */

    private int status;
    private ErrorsBean errors;
    private String msg;
    /**
     * customerId : 41143
     * fullname : MLZ72679014
     * gender : null
     * telephone : 18170465691
     * portrait : http://cimage1.mlzmall.com/41143/17c5cfc00c165ac5bfc0448b5feb3f35.bmp
     * email :
     * customerGroupName : null
     * addressId : 0
     * ageGroupTagId : null
     * ageGroupTagName : null
     * characterTagId : null
     * characterTagName : null
     * dressStyleTagId : null
     * dressStyleTagName : null
     */

    private DataBean data;

    public int getStatus() {
        return DataUtils.getInt(status);
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return DataUtils.getString(msg);
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class ErrorsBean {
    }

    public static class DataBean {
        private int customerId;
        private String fullname;
        private int gender;
        private String telephone;
        private String portrait;
        private String email;
        private int customerGroupName;
        private int addressId;
        private int ageGroupTagId;
        private String ageGroupTagName;
        private int characterTagId;
        private String characterTagName;
        private int dressStyleTagId;
        private String dressStyleTagName;

        public int getCustomerId() {
            return DataUtils.getInt(customerId);
        }

        public void setCustomerId(int customerId) {
            this.customerId = customerId;
        }

        public String getFullname() {
            return DataUtils.getString(fullname);
        }

        public void setFullname(String fullname) {
            this.fullname = fullname;
        }

        public int getGender() {
            return DataUtils.getInt(gender);
        }

        public void setGender(int gender) {
            this.gender = gender;
        }

        public String getTelephone() {
            return DataUtils.getString(telephone);
        }

        public void setTelephone(String telephone) {
            this.telephone = telephone;
        }

        public String getPortrait() {
            return DataUtils.getString(portrait);
        }

        public void setPortrait(String portrait) {
            this.portrait = portrait;
        }

        public String getEmail() {
            return DataUtils.getString(email);
        }

        public void setEmail(String email) {
            this.email = email;
        }



        public int getAddressId() {
            return DataUtils.getInt(addressId);
        }

        public void setAddressId(int addressId) {
            this.addressId = addressId;
        }


        public int getCustomerGroupName() {
            return DataUtils.getInt(customerGroupName);
        }

        public void setCustomerGroupName(int customerGroupName) {
            this.customerGroupName = customerGroupName;
        }

        public int getAgeGroupTagId() {
            return DataUtils.getInt(ageGroupTagId);
        }

        public void setAgeGroupTagId(int ageGroupTagId) {
            this.ageGroupTagId = ageGroupTagId;
        }

        public String getAgeGroupTagName() {
            return DataUtils.getString(ageGroupTagName);
        }

        public void setAgeGroupTagName(String ageGroupTagName) {
            this.ageGroupTagName = ageGroupTagName;
        }

        public int getCharacterTagId() {
            return DataUtils.getInt(characterTagId);
        }

        public void setCharacterTagId(int characterTagId) {
            this.characterTagId = characterTagId;
        }

        public String getCharacterTagName() {
            return DataUtils.getString(characterTagName);
        }

        public void setCharacterTagName(String characterTagName) {
            this.characterTagName = characterTagName;
        }

        public int getDressStyleTagId() {
            return DataUtils.getInt(dressStyleTagId);
        }

        public void setDressStyleTagId(int dressStyleTagId) {
            this.dressStyleTagId = dressStyleTagId;
        }

        public String getDressStyleTagName() {
            return DataUtils.getString(dressStyleTagName);
        }

        public void setDressStyleTagName(String dressStyleTagName) {
            this.dressStyleTagName = dressStyleTagName;
        }
    }
}
